Machining method and apparatus

ABSTRACT

Disclosed is a method and apparatus for machining a workpiece ( 2 ). The method comprises: specifying a path along which a cutting tool ( 6 ) is to be moved during machining of the workpiece ( 2 ), the path comprising a plurality of segments ( 26 ); defining, for each segment ( 26 ), an entry point and an entry path ( 32 ) from a point remote from the workpiece ( 2 ) to that entry point; moving a first cutting tool ( 6 ) along the tool path from a first point to a second point and machining the workpiece ( 2 ); after the first cutting tool ( 6 ) has been moved to the second point, moving the first cutting tool ( 6 ) to a point remote from the workpiece ( 2 ); moving a second cutting tool ( 18 ) along the entry path ( 32 ) of the segment ( 26 ) that contains the second point, and then from the entry point to the second point.

FIELD OF THE INVENTION

The present invention relates to the machining of workpieces.

BACKGROUND OF THE INVENTION

In the field of aircraft construction, cutting tools, such as drill bits, are used to perform machining operations on aircraft parts. For example, predrilled holes in aircraft panels may be countersunk so that fasteners used to fasten the aircraft panel to the structure are flush with a surface of the panel (e.g. the outer surface of the aircraft).

Due to regular operation, cutting tools wear which may cause them to fail. It is desirable to change cutting tools prior to the failure of cutting tools.

SUMMARY OF THE INVENTION

In order to change a cutting tool, typically the device to which the cutting tool is attached (for example, a robot arm) has to be moved away from the object being machined and any fixture system supporting the object. The present inventors have realized that for some objects and fixture systems, especially those having high curvature or complex shapes such as an aircraft center arch panel, standard retractions of the cutting apparatus from the object surface tend to introduce a high risk of the cutting apparatus impacting with the object and/or support fixture. Such collisions may result in damage to the cutting apparatus and/or the object being machined. The present inventors have realized that there is a need for improving automatic tool change operations.

The present inventors have further realized that, for many cutting tools, at least some useful tool life is used. The present inventors have realized a need for improving cutting tool usage.

The present inventors have further realized that a pre-programmed tool change process that avoids collision tends to decrease engineer workload and cost.

In a first aspect, the present invention provides a method of machining a workpiece. The method comprises: specifying a tool path for a cutting tool, the tool path being a path along which a cutting tool is to be moved during machining of the workpiece, wherein the tool path comprises a plurality of tool path segments; defining, for each tool path segment, an entry point, wherein the entry point of a tool path segment is a point on that tool path segment; defining, for each tool path segment, an entry path, wherein the entry path of a tool path segment is a path for a cutting tool from a point that is remote from the workpiece to the entry point of that tool path segment; moving a first cutting tool along the tool path from a first point on the tool path to a second point on the tool path; as the first cutting tool is moved from the first point to the second point, machining, by the first cutting tool, the workpiece; moving a second cutting tool along the entry path of the tool path segment in which the second point is located from a point that is remote from the workpiece to the entry point of the tool path segment in which the second point is located; and moving the second cutting tool along the tool path from the entry point of the tool path segment in which the second point is located to the second point.

The method may further comprise, thereafter, resuming a machining operation by moving the second cutting tool along the tool path and machining, by the second cutting tool, the workpiece.

The step of moving the second cutting tool along the tool path from the entry point of the tool path segment in which the second point is located to the second point may be performed without the second cutting tool machining the workpiece.

The first cutting tool may be a different cutting tool to the second cutting tool.

The method may further comprise, after the first cutting tool has been moved to the second point, moving the first cutting tool to a point remote from the workpiece.

The method may further comprise, after the first cutting tool has been moved to the point remote from the workpiece, replacing the first cutting tool with the second cutting tool.

The method may further comprise specifying a sequence comprising a plurality of machining points along the tool path, each machining point being a point along the tool path at which a respective feature (e.g. a hole or a countersink) is to be machined into the workpiece, wherein each tool path segment includes one or more machining points. The step of machining, by the first cutting tool, the workpiece may include, for each of the machining points the first cutting tool is moved to, controlling the first cutting tool to machine the corresponding feature into the workpiece. The method may further comprise, for each machining point, assigning, to that machining point, either a first label or a second label, wherein the first label is assigned to a machining point if the feature corresponding to that machining point has not been machined, and the second label is assigned to a machining point if the feature corresponding to that machining point has been machined. The method may further comprise, after the first cutting tool has been moved to the second point, identifying the first machining point in the sequence to which the first label has been assigned. The step of moving the second cutting tool along the entry path of the tool path segment in which the second point is located may comprise moving the second cutting tool along the entry path of the tool path segment containing the identified machining point to the entry point of the tool path segment containing the identified machining point.

Moving the second cutting tool along the tool path from the entry point of the tool path segment in which the second point is located to the second point may comprise moving the second cutting tool along the tool path from the entry point of the tool path segment containing the identified machining point to the identified machining point.

The method may further comprise specifying a sequence comprising a plurality of machining points along the tool path, each machining point being a point along the tool path at which a respective feature is to be machined into the workpiece, wherein each tool path segment includes one or more machining points. The step of machining, by the first cutting tool, the workpiece may include, for each of the machining points the first cutting tool is moved to, controlling the first cutting tool to machine the corresponding feature into the workpiece. The method may further comprise, for each tool path segment, assigning, to that tool path segment, either a third label or a fourth label, wherein the third label is assigned to a tool path segment if the feature corresponding to one or more of the machining points in that tool path segment has not been machined, and the fourth label is assigned to a tool path segment if the features corresponding every machining point in that tool path segment have been machined. The method may further comprise, after the first cutting tool has been moved to the second point, identifying the first tool path segment in the sequence to which the third label has been assigned. The step of moving the second cutting tool along the entry path of the tool path segment in which the second point is located may comprise moving the second cutting tool along the entry path of the identified tool path segment.

The method may further comprise, after the first cutting tool has been moved to the second point, determining that a tool life of the first cutting tool is equal to a predetermined threshold value (e.g. zero). The method may further comprise, responsive to determining that a tool life of the first cutting tool is equal to a predetermined threshold value, preventing further machining of the workpiece using the first cutting tool.

The method may further comprise: defining, for each tool path segment, an exit point, wherein the exit point of a tool path segment is a point on that tool path segment; defining, for each tool path segment, an exit path, wherein the exit path of a tool path segment is a path for a cutting tool from the exit point of that tool path segment to a point that is remote from the workpiece; performing a machining process including moving the cutting tool along at least part of the tool path and machining, by the cutting tool, the workpiece; after the first cutting tool has been moved to the second point, interrupting the machining process and moving the first cutting tool along a current tool path segment without machining the workpiece, from the second point to the exit point of the current tool path segment; and moving the first cutting tool along the exit path of the current tool path segment.

In a further aspect, the present invention provides an aircraft component machined using a method according to any of the above aspects.

In a further aspect, the present invention provides apparatus for machining a workpiece. The apparatus comprises: a first cutting tool; a second cutting tool; one or more processors configured to: store a tool path for a cutting tool, the tool path being a path along which a cutting tool is to be moved during machining of the workpiece, wherein the tool path comprises a plurality of tool path segments, each tool path segment comprising an entry point, wherein the entry point of a tool path segment is a point on that tool path segment; and store, for each tool path segment, an entry path, wherein the entry path of a tool path segment is a path for a cutting tool from a point that is remote from the workpiece to the entry point of that tool path segment; and a controller configured to: move the first cutting tool along the tool path from a first point on the tool path to a second point on the tool path; as the first cutting tool is moved from the first point to the second point, machine, using the first cutting tool, the workpiece; move the second cutting tool along the entry path of the tool path segment in which the second point is located from a point that is remote from the workpiece to the entry point of the tool path segment in which the second point is located; and move the second cutting tool along the tool path from the entry point of the tool path segment in which the second point is located to the second point.

In a further aspect, the present invention provides a program or plurality of programs arranged such that when executed by a computer system or one or more processors it/they cause the computer system or the one or more processors to operate in accordance with any of the above aspects.

In a further aspect, the present invention provides a non-transient machine readable storage medium storing a program or at least one of the plurality of programs according to the preceding aspect.

The features and advantages described herein are not all-inclusive and, in particular, many additional features and advantages will be apparent to one of ordinary skill in the art in view of the drawings, specification, and claims. Moreover, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and not to limit the scope of the inventive subject matter.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic illustration (not to scale) of an environment in which a drilling process is performed configured in accordance with one embodiment of the invention.

FIG. 2 is a schematic illustration (not to scale) showing an aircraft panel and illustrating a drilling program configured in accordance with one embodiment of the invention.

FIG. 3 is a process flow chart showing certain steps of an embodiment of a drilling process configured in accordance with the invention.

DETAILED DESCRIPTION

FIG. 1 is a schematic illustration (not to scale) of an example of an environment 1 in which an embodiment of a drilling process is performed. The drilling process is described in more detail later below with reference to FIG. 3.

The terminology “drilling process” is used herein to refer to any type of drilling, cutting, or machining process including, but not limited to, fusion cutting, flame cutting, sublimation cutting, drilling a hole, countersinking (a pre-drilled hole), reaming, orbital drilling, etc.

In this embodiment, the environment 1 comprises an aircraft panel 2 to be drilled, a fixture system 3, a robot arm 4 comprising a drill bit 6, a controller 8, a processor 10, and a tool storage 12.

The aircraft panel 2 is made of carbon fiber. The aircraft panel 2 is to be fixed to an airframe of an aircraft to form an external skin of the aircraft.

The fixture system 3 comprises a frame in which the aircraft panel 2 is fixed, for example, using a plurality of clamps. The fixture system 3 is configured to restrict or prevent movement of the aircraft panel 2 during the drilling operation. The fixture system 3 may comprise a jig, the framework of which may be made by joining standard galvanized steel beams.

The robot arm 4 is a conventional industrial robot arm, or robotic arm, such as a six axis serial arm robot, for example a KR360 robot arm manufactured by Kuka Gmbh (Trademark). The robot arm 4 has at least six degree of freedom.

The drill bit 6 is coupled to an end of the robot arm 4 such that the robot arm 4 may move the drill bit 6 into contact with the aircraft panel 2, and drill into the aircraft panel 2. The drill bit 6 is an end effector of the robot arm 4.

The robot arm 4 and the drill bit 6 can be conveniently thought of as a single module, e.g. a drilling module.

In some embodiments, optionally, and in addition to the robot arm 4, a further robot arm may be used to support the aircraft panel 2 during the drilling process and act as an “anvil”. The further robot arm may be located opposite to the robot arm 4. The further robot arm may be configured to contact with the aircraft panel 2 opposite to the drill bit 6 so as to prevent or oppose deflection of the aircraft panel 2 during the drilling process. The further robot arm may, for example, be a KR180 or KR360 robot arm manufactured by Kuka Gmbh (Trademark).

The robot arm 4 is coupled to the controller 8 such that the controller 8 controls movement of the robot arm 4. The drill bit 6 is coupled to the controller 8 such that the controller 8 may activate and deactivate the drill bit 6.

The controller 8 is coupled to the processor 10 such that the processor 10 may send instructions for controlling the robot arm 4 to the controller 8. The controller 8 is configured to control the robot arm 4 and drill bit 6 in accordance with the instructions received from the processor 10.

In this embodiment, the processor 10 comprises a drill program 14, a status module 15, and a tool life module 16.

The drill program 14 specifies the sequence of instructions to be sent to the controller 8 with which the controller 8 controls the robot arm 4. In this embodiment, the drill program 14 specifies a tool path for the drill bit 6. Also, the drill program specifies 14 a plurality of holes that are to be drilled into the aircraft panel 2. The holes specified by the drill program 14 are arranged into a plurality of groups of holes, which are hereinafter referred to as “segments”. Thus, the tool path for the drill bit 6 specified by the drill program 14 is partitioned into a plurality of tool path segments. In this embodiment, the tool path segments are a sequence of path segments that make up a continuous tool path. The drill program 14 is described in more detail later below with reference to FIG. 2.

The status module 15 maintains a list comprising a current status of each of the holes specified by the drill program 14. The list maintained by the status module 15 also comprises a current status of each of the segments specified by the drill program 14. The statuses specified by the status module 15 are described in more detail later below with reference to FIG. 2.

The tool life module 16 is configured to maintain a current tool life value of the drill bit 6 currently attached to the robot arm 4. In this embodiment, a tool life value of a drill bit or other cutting tool specifies a number of holes that that cutting tool may be used to drill before that cutting tool is to be discarded. As described in more detail later below with reference to FIG. 3, the tool life module 16 updates the tool life value of the drill bit 6 currently attached to the robot arm 4 as holes are drilled into the aircraft panel 2 using that drill bit 6.

The tool storage 12 is a storage facility that stores a plurality of further drill bits 18. The tool storage 12 is located proximate to the robot arm 4 such that, in operation, the robot arm 4 may return the drill bit 6 to the tool storage 12 and such that the robot arm 4 may retrieve a further drill bit 18 from the tool storage 12, and use the retrieve further drill bit 18 to drill the aircraft panel 2.

FIG. 2 is a schematic illustration (not to scale) showing the aircraft panel and illustrating the drill program 14.

In this embodiment, the drill program 14 specifies, inter alia, a plurality of holes 20 a-e, 22 a-e, 24 a-e that are to be drilled into the aircraft panel 2. In this embodiment, there are fifteen holes. The drill program 14 may specify, for each hole 20 a-e, 22 a-e, 24 a-e, a location on the surface of the aircraft panel 2 for that hole, and an axis/direction for that hole.

The drill program 14 specifies a plurality of groups into which the holes 20 a-e, 22 a-e, 24 a-e are arranged. These groups of holes are hereinafter referred to as “segments”. In this embodiment, there are three segments, namely a first segment 26, a second segment 28, and a third segment 30. Each segment 26, 28, 30 comprises five holes. Particular, the first segment 26 includes the holes labelled in FIG. 2 using the reference numerals 20 a, 20 b, 20 c, 20 d, and 20 e. Also, the second segment 28 includes the holes labelled in FIG. 2 using the reference numerals 22 a, 22 b, 22 c, 22 d, and 22 e. Also, the third segment 30 includes the holes labelled in FIG. 2 using the reference numerals 24 a, 24 b, 24 c, 24 d, and 24 e. In this embodiment, each hole belongs to exactly one segment 26, 28, 30.

The drill program 14 specifies an order in which the holes 20 a-e, 22 a-e, 24 a-e are to be drilled. Thus, the drill program 14 species a sequence of holes. In this embodiment, the holes are to be drilled in the following order: the first hole of the first segment 20 a, the second hole of the first segment 20 b, the third hole of the first segment 20 c, the fourth hole of the first segment 20 d, the fifth hole of the first segment 20 e, the first hole of the second segment 22 a, the second hole of the second segment 22 b, the third hole of the second segment 22 c, the fourth hole of the second segment 22 d, the fifth hole of the second segment 22 e, the first hole of the third segment 24 a, the second hole of the third segment 24 b, the third hole of the third segment 24 c, the fourth hole of the third segment 24 d, and the fifth hole of the third segment 24 e.

Each segment 26, 28, 30 comprises holes that are consecutive in the sequence of holes (i.e. that are to be drilled directly after each other). Thus, each segment 26, 28, 30 comprises a sub-sequence of the sequence of holes.

In this embodiment, the drill program 14 describes a tool path to be followed by the drill bit 6 and the robot arm 4 to drill the sequence holes 20 a-e, 22 a-e, 24 a-e. In other words, the drill program 14 specifies a tool path that passes through the holes 20 a-e, 22 a-e, 24 a-e in the aforementioned order.

The drill program 14 specifies, for each segment 26, 28, 30, an entry path. In particular, the drill program 14 specifies, a first entry path 32 for the first segment 26, a second entry path 34 for the second segment 28, and a third entry path 36 for the third segment 30. The entry paths 32, 34, 36 are indicated in FIG. 2 by dotted arrows pointing towards the aircraft panel 2. An entry path for a segment is a route or path from a point remote from the aircraft panel 2 and fixture system 3 to the location on the aircraft panel 2 of the first hole of that segment (i.e. the first hole of that segment in the sequence of holes, i.e. the hole of that segment that is to be drilled first in the drilling process). Thus for example, first entry path 32 is a route from a point remote from the aircraft panel 2 to the location of the first hole 20 a of the first segment 26. In this embodiment, the entry paths 32, 34, 36 are paths along which the robot arm 4 may move the drill bit 6.

In some embodiments, a point that is remote from the aircraft panel 2 and fixture system 3 is a position for the robot arm 4 such that the robot arm 4 and drill bit 6 are at least 100 mm, or more preferably 110 mm, from the aircraft panel 2 and fixture system 3.

Each entry path 32, 34, 36 is a route that avoids contact of the robot arm 4 (and drill bit 6 attached thereto) with the aircraft panel 2 and fixture system 3. Thus, a risk damage to the aircraft panel 2, the fixture system 3, the robot arm 4, or the drill bit 6 as a result of the robot arm 4 or drill 6 impacting with the aircraft panel 2 and/or fixture system 3 when the robot arm 4 approaches the aircraft panel 2 advantageously tends to be reduced or eliminated.

Each entry path 32, 34, 36 may have been determined by a human operator following a detailed analysis of the aircraft panel 2 coupled to the fixture system 3, the dimensions and capabilities of the robot arm 4, etc.

The drill program 14 specifies, for each segment 26, 28, 30, an exit path. In particular, the drill program 14 specifies, a first exit path 38 for the first segment 26, a second exit path 40 for the second segment 28, and a third exit path 42 for the third segment 30. The exit paths 38, 40, 42 are indicated in FIG. 2 by dotted arrows pointing away from the aircraft panel 2. An exit path for a segment is a route or path, from the location on the aircraft panel 2 of the last hole of that segment (i.e. the last hole of that segment in the sequence of holes, i.e. the hole of that segment that is to be drilled last in the drilling process) to a location remote from the aircraft panel 2 and the fixture system 3. Thus for example, first exit path 38 is a route from the location on the aircraft panel 2 of the fifth hole 202 of the first segment 26 to a point remote from the aircraft panel 2. In this embodiment, the exit paths 38, 40, 42 are paths along which the robot arm 4 may move the drill bit 6.

Each exit path 38, 40, 42 is a route that avoids contact of the robot arm 4 (and drill bit 6 attached thereto) with the aircraft panel 2 and fixture system 3. Thus, a risk damage to the aircraft panel 2, the fixture system 3, the robot arm 4, or the drill bit 6 as a result of the robot arm 4 or drill 6 impacting with the aircraft panel 2 and/or fixture system 3 when the robot arm 4 moves away from the aircraft panel 2 advantageously tends to be reduced or eliminated.

Each exit path 38, 40, 42 may have been determined by a human operator following a detailed analysis of the aircraft panel 2 coupled to the fixture system 3, the dimensions and capabilities of the robot arm 4, etc.

Referring back to the functionality of the status module 15, in this embodiment the status module 15 maintains a list of current statuses of the holes 20 a-e, 22 a-e, 24 a-e and the segments 26, 28, 30.

A status of a hole 20 a-e, 22 a-e, 24 a-e may be either (i) “undrilled” if that hole has not yet been fully drilled in the aircraft panel 2, or “drilled” if that hole has been drilled in the aircraft panel 2.

A status of a segment 26, 28, 30 may be either (i) “complete” if all holes in that segment have yet been fully drilled; (ii) “not started” if all holes in that segment have not been drilled to any extent; or (iii) “in progress” if one or more, but not all, of the holes in that segment have been drilled or if the first hole of that segment is the next hole in the sequence to be drilled.

FIG. 3 is a process flow chart showing certain steps of an embodiment of a drilling process.

At step s2, the processor 10 sets values of a first index i and a second index j to be equal to one, i.e. the processor 10 sets i=1 and j=1.

At step s4, the robot arm 4 retrieves a cutting tool from the tool storage 12. In this embodiment, the first cutting tool retrieved by the robot arm 4 is the drill bit 6.

At step s6, the tool life module 16 acquires a current tool life value of the cutting tool currently attached to the robot arm 4. Thus, in a first iteration of step s6, the tool life module 16 acquires a current tool life value of the drill bit 6.

The tool life module 16 may acquire tool life values from any appropriate source. For example, tool life values may be acquired from a database of tool life values that is coupled to the processor 10, or a tool life value may be input to the processor 10 by a human operator.

At step s8, the drilling program is initiated. The processor 10 may send the information specified in the drill program 14 to the controller 8, and the controller 8 may control the robot arm 4 and drill bit 6 in accordance with the received information.

At step s10, the status module 15 ensures that the status of the ith segment is “in progress”. Thus, in a first iteration of step s10, the status module 15 changes the status of the first segment 26 from “not started” to “in progress”.

At step s12, in accordance with the drill program 14, the controller 8 controls the robot arm 4 such that the cutting tool currently attached to the robot arm 4 is moved along the entry path of the ith segment, from a point remote from the aircraft panel 2 and the fixture system 3 to the location on the aircraft panel 2 of the first hole of the ith segment. Thus, in a first iteration of step s12, the robot arm 4 is controlled such that the drill bit 6 is moved along the first entry path 32 from a point remote from the aircraft panel 2 to the location of the first hole 20 a of the first segment 26.

Collisions between the robot arm 4 and the aircraft panel 2 or fixture system 3 tend to be advantageously avoided. Also, collisions between the current cutting tool and the aircraft panel 2 or fixture system 3 tend to be advantageously avoided.

At step s14, the controller 8 controls the robot arm 4 such that the cutting tool currently attached to the robot arm 4 is moved along tool path specified by the drill program 14 to the jth hole of the ith segment. Thus, in a first iteration of step s14, the robot arm 4 is controlled such that the drill bit 6 is moved along the specified tool path to the first hole 20 a of the first segment 26.

At step s16, in accordance with the drill program 14, the controller 8 controls the robot arm 4 to drill, using the attached cutting tool, the jth hole of the ith segment. Thus, in a first iteration of step s16, the robot arm 4 is controlled to drill, using the drill bit 6 the first hole 20 a of the first segment 26.

At step s18, the status module 15 changes the status of the jth hole of the ith segment from “undrilled” to “drilled”. In other words, the status of the hole that was drilled at step s16 is changed to “drilled”. Thus, in a first iteration of step s18, the status module 15 labels the first hole 20 a of the first segment 26 as “drilled”.

At step s20, the processor 10 increases the value of the second index j by one, i.e. the processor 10 sets j=j+1.

At step s22, the processor 10 determines whether or not all holes of the ith segment have been fully drilled. In some embodiments, the status module 15 determines whether or not the status of each of the holes of the ith segment is “drilled”.

If, at step s22, it is determined that all holes of the ith segment have been drilled, the method proceeds to step s24.

However, if at step s22 it is determined that all holes of the ith segment have not been drilled, the method proceeds to step s30. Step s30 and subsequent method steps are described in more detail later below after a description of method steps s24 to s28.

At step s24, it has been determined that all holes of the ith segment have been drilled, and the status module 15 changes the status of the ith segment from “in progress” to “complete”.

At step s26, the processor 10 determines whether or not all the holes specified in the drill program 14 have been drilled. In this embodiment, this is performed by the status module 15 determining whether or not the status of each of the segments 26, 28, 30 is “complete”.

If, at step s26, it is determined that all of the segments 26, 28, 30 are labelled as “complete”, i.e. all the holes are labelled as “drilled”, the method proceeds to step s27.

However, if at step s26 it is determined that all of the segments 26, 28, 30 are not labelled as “complete”, the method proceeds to step s28.

At step s27, the controller 8 controls the robot arm 4 such that the cutting tool currently attached to the robot arm 4 is moved along the exit path of the ith segment, from the location on the aircraft panel 2 of the last hole of the ith segment to a point remote from the aircraft panel 2 and the fixture system 3. Thus, in this embodiment, after all of the holes 20 a-e, 22 a-e, 24 a-e has been drilled, the robot arm 4 is controlled such that the current cutting tool is moved along the third exit path 42 from the location of the fifth hole 24 e of the third segment 30 to point remote from the aircraft panel 2 and the fixture system 3.

After step s27, the process of FIG. 3 ends.

Returning now to the case where, at step s26, it is determined that all of the segments 26, 28, 30 are not labelled as “complete”, at step s28 the processor 10 increases the value of the first index j by one, and sets the value of the second index j to be 1, i.e. the processor 10 sets i=i+1 and j=1.

After step s28, the process proceeds to step s30.

At step s30, the tool life module 16 reduces the tool life value of the cutting tool currently attached to the robot arm 4 by one. Thus, in a first iteration of step s30, the tool life module 16 reduces the tool life value of the drill bit 6 by one.

At step s32, the tool life module 16 determines whether or not the tool life value of the cutting tool currently attached to the robot arm 4 is equal to zero. In other words, the tool life module 16 determines whether or not the current cutting tool should be replaced.

If, at step s32, it is determined that the tool life value of the cutting tool currently attached to the robot arm 4 is not equal to zero, the method proceeds to back to step s14. After returning to step s14, the cutting tool is moved along the tool path specified by the drill program 14 to the next hole to be drilled in the sequence.

However, if at step s32 it is determined that the tool life value of the cutting tool currently attached to the robot arm 4 is equal to zero, a subroutine of the drill program is initiated and the method proceeds to step s34.

At step s34, the controller 8 controls the robot arm 4 such that the cutting tool currently attached to the robot arm 4 is moved along tool path specified by the drill program 14 to the location of the last hole of the ith segment. In this embodiment, no further holes are drilled during step s34, i.e. the cutting tool is moved along the drill path without drilling any further holes. For example, if it is determined that the tool life value of the drill bit 6 is equal to zero during drilling of the first segment 26 (e.g. after drilling of the third hole 20 c of the first segment 26 is complete), the robot arm 4 is controlled such that the drill bit 6 is moved along the specified tool path, without drilling the fourth or fifth holes 20 d, 20 e of the first segment 26, to the location of the fifth hole 20 e of the first segment 26.

At step s36, the controller 8 controls the robot arm 4 such that the cutting tool currently attached to the robot arm 4 is moved along the exit path of the ith segment, from the location on the aircraft panel 2 of the last hole of the ith segment to a point remote from the aircraft panel 2 and the fixture system 3. For example, if it has been determined that the tool life value of the drill bit 6 is equal to zero during drilling of the first segment 26, and the drill bit 6 has been moved along the tool path to the location of the fifth hole 20 e of the first segment 26, the drill bit 6 is then moved along the first exit path 38. Collisions between the robot arm 4 and the aircraft panel 2 or fixture system 3 are advantageously avoided. Also, collisions between the current cutting tool and the aircraft panel 2 or fixture system 3 are advantageously avoided.

At step s38, the controller 8 controls the robot arm 4 such that the cutting tool currently attached to the robot arm 4 is returned to the tool storage 12. For example, after its tool life value has been reduced to zero, the drill bit 6 is discarded to the tool storage 12.

After step s38, the method of FIG. 3 returns to step s4 where the robot arm 4 selects, from the tool storage 12, a new drill bit, for example, a previously unselected drill bit (e.g. one of the further drill bits 18). After selection of the new drill bit, the robot arm 4 is controlled to return the new drill bit to the location of the next undrilled hole in the “in progress” section (i.e. the ith section), via the entry path of that section. In this embodiment, when the new drill bit is moved to the location of the next undrilled hole of the ith section, the robot arm 4 is controlled to move the new drill bit along the entry path of the ith, “in progress”, section, and then along the tool path of that section to the next “undrilled” hole via the previously “drilled” holes.

Thus, a drilling process is provided.

In this embodiment, the offline program specifies a tool path that is partitioned into multiple segments, each containing a plurality of holes. Each segment has an entry and exit path that may have been specifically defined by a human programmer to ensure no clash condition exists. If a tool life value decrements to zero during the drilling process, a tool change sub routine is initiated and the robot arm automatically skip through the remaining holes of the segment without cutting them, and subsequently moves away from the aircraft panel via the exit path defined in the offline program. Once away from the aircraft panel, the robot arm continues to its home position, and then changes cutting tools and the tool storage. When returning to the aircraft panel, the robot arm follows the defined entry path for the “in progress” segment, and skips holes already completed until arriving at the next hole to be drilled.

An advantage of the above provided countersinking process, is that the process is performed using commercially available, “off-the shelf” industrial robots. Furthermore, it tends to be possible to use the same robots to perform the countersinking/drilling process on any type of panel or part, and on any shape of panel or part. Thus, the use of relatively expensive machine tools tends to be advantageously avoided.

The robots used in the above described countersinking process may use different sized/shaped cutting tools. Thus, the robots may be used to perform many types of machining operations. To account for different sizes/shapes of cutting tools, a size (e.g. a length) of a cutting tool may be measured accurately on a Kelch pre-setter. This data, along with other data e.g. like tool number, tool life value etc., may be stored on a Radio Frequency Identification (RFID) chip attached to the chuck. When a cutting tool is selected from the tool storage, the data stored on the RFID chip may be read by a reader linked to the controlling robot arm and controller. The system may then determine, for example, which tool it is using, how many holes it can drill before the tool must be changed, and the length of the tool. The tool length may be used in the determination of how far along its axis the cutting tool should be moved in order to drill into the aircraft panel to a desired pre-determined depth.

The tool life value is advantageously be monitored by decrementing the available life of a tool each time a hole is drilled with that tool, and storing the decremented tool life on the RFID chip for that tool, at the processor and/or at another storage device.

The above described method and apparatus advantageously tends to avoid collision of the robot arm and drill bit with the aircraft panel and fixture system, for example, during a tool change process. The method and apparatus may be implemented with workpieces and fixture systems that have relatively complex (such as highly curved) shapes.

The automatic changing of a cutting tool when its life expires tends to be provided.

Using the above method, cutting tool usage tends to be maximized. Thus, tool costs tend to be reduced.

The above described tool change and tracking process tends not to rely on manual intervention.

Advantageously, using the above described method, a need for recording a current position of the robot arm and drill bit, for example upon initiating a tool change process, tends to be reduced or eliminated.

The maintaining of statuses of the segments and the holes by the status module advantageously tend to facilitate the skipping of undrilled holes by the robot arm (e.g. when the tool change subroutine is initiated), and tend to facilitate the skipping of previously drilled holes by the robot arm (e.g. when returning to the aircraft panel after tool change).

The partitioning of the holes into segments, and the defining of an entry/exit path for each segment advantageously tends to eliminate the specifying of an entry and/or exit path for each hole. This tends to simplify a drill program and a specification thereof.

The partitioning of the holes into segments, and the defining of an entry/exit path for each segment advantageously tends provide that, to reach an exit path, the robot arm does not move via the location of every undrilled hole in the sequence when the tool change subroutine is initiated.

The partitioning of the holes into segments, and the defining of an entry/exit path for each segment advantageously tends provide that, to reach the next hole to be drilled, the robot arm does not move via the location of every previously drilled hole in the sequence after tool change has been performed.

Apparatus, including the processor, for implementing the above arrangement, and performing the above described method steps, may be provided by configuring or adapting any suitable apparatus, for example one or more computers or other processing apparatus or processors, and/or providing additional modules. The apparatus may comprise a computer, a network of computers, or one or more processors, for implementing instructions and using data, including instructions and data in the form of a computer program or plurality of computer programs stored in or on a machine readable storage medium such as computer memory, a computer disk, ROM, PROM etc., or any combination of these or other storage media.

It should be noted that certain of the process steps depicted in the flowchart of FIG. 3, and described above may be omitted or such process steps may be performed in differing order to that presented above and shown in FIG. 3. Furthermore, although all the process steps have, for convenience and ease of understanding, been depicted as discrete temporally-sequential steps, nevertheless some of the process steps may in fact be performed simultaneously or at least overlapping to some extent temporally.

In the above embodiments, the drilling process is implemented to drill hole in an object. However, in other embodiments, a different type of drilling or cutting process is used to form or machine different features in an object.

In the above embodiments, the object being drilled is an aircraft panel. However, in other embodiments, a different type of object is drilled, for example, a different type of aircraft component.

In the above embodiments, the fixture system comprises a frame onto which the object to be drilled is clamped. However, in other embodiments, a different type of support structure is used, for example, a support structure that is coupled to the object in a different appropriate way, i.e. other than using clamps.

In the above embodiments, a robot arm is implemented to perform the drilling process. However, in other embodiments a different type of system is used to implement the drilling process.

In the above embodiments, a tool life value of a drill bit or other cutting tool specifies a number of holes that that cutting tool may be used to drill before that cutting tool is discarded. However, in other embodiments tool life is specified in a different way, for example, a tool life value may specify a tool life in terms of one or more different types of cutting operation instead of or in addition to drilling holes. In some embodiment, the tool life is specified in terms of an amount of time that tool may be used for. This time value may be reduced each time a hole is drilled by the time taken to drill that hole.

In the above embodiments, the drill program specifies fifteen holes which are grouped in to three segments, each of which consists of five holes. However, in other embodiments the drill program specifies a different number of holes. In some embodiments, the holes may be grouped into a different number of segments. In some embodiments, one or more of the segments consists of a different number of holes (i.e. other than five). For example, in some embodiments, the drill program specifies five hundred holes which are grouped in to twenty-five segments, each of which consists of twenty holes.

In the above embodiments, the drill program specifies separate entry and exit paths for each segment. The entry path of a segment is a path that leads to the first hole of that segment. The exit path of a segment is a path that leads from the last hole of that segment.

However, in other embodiments, the entry and exit paths for one or more of the segments are not separate, for example, a common path may provide both exit and entry paths to a segment. The robot arm may be controlled to move along the common path towards the object to be drilled when that common path is to serve as an entry path, and the robot arm may be controlled to move along the common path in an opposite direction, away from the object, when that common path is to serve as an exit path.

In some embodiments, the entry path of a segment is a path that leads to a different hole of that segment, i.e. a hole other than the first hole of that segment.

In some embodiments, the exit path of a segment is a path that away leads from a different hole of that segment, i.e. a hole other than the last hole of that segment.

The foregoing description of the embodiments of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of this disclosure it is to be understood that other similar embodiments may be used or modifications or additions may be made to the described embodiment for performing the same function of the present invention without deviating therefrom. It is intended that the scope of the invention be limited not by this detailed description, but rather by the claims appended hereto. 

What is claimed is:
 1. A method of machining a workpiece (2), the method comprising: specifying a tool path for a cutting tool (6), the tool path being a path along which the cutting tool (6) is to be moved during machining of the workpiece (2), wherein the tool path comprises a plurality of tool path segments (26, 28, 30); defining, for each tool path segment (26, 28, 30), an entry point, wherein the entry point of a tool path segment (26, 28, 30) is a point on that tool path segment (26, 28, 30); defining, for each tool path segment (26, 28, 30), an entry path (32, 34, 36), wherein the entry path (32, 34, 36) of a tool path segment (26, 28, 30) is a path for a cutting tool (6) from a point that is remote from the workpiece (2) to the entry point of that tool path segment (26, 28, 30); moving a first cutting tool (6) along the tool path from a first point on the tool path to a second point on the tool path; as the first cutting tool (6) is moved from the first point to the second point, machining, by the first cutting tool (6), the workpiece (2); after the first cutting tool (6) has been moved to the second point, moving the first cutting tool (6) to a point remote from the workpiece (2); moving a second cutting tool (18) along the entry path (32, 34, 36) of the tool path segment (26, 28, 30) in which the second point is located from a point that is remote from the workpiece (2) to the entry point of the tool path segment (26, 28, 30) in which the second point is located; and moving the second cutting tool (18) along the tool path from the entry point of the tool path segment (26, 28, 30) in which the second point is located to the second point.
 2. A method according to claim 1, the method further comprising, thereafter, resuming a machining operation by moving the second cutting tool (18) along the tool path and machining, by the second cutting tool (18), the workpiece (2).
 3. A method according to claim 1, wherein the step of moving the second cutting tool (18) along the tool path from the entry point of the tool path segment (26, 28, 30) in which the second point is located to the second point is performed without the second cutting tool (18) machining the workpiece (2).
 4. A method according to claim 1, wherein the first cutting tool (6) is a different cutting tool (6) to the second cutting tool (18).
 5. A method according to claim 1, wherein the workpiece (2) is an aircraft panel.
 6. A method according to claim 1, the method further comprising, after the first cutting tool (6) has been moved to the point remote from the workpiece (2), replacing the first cutting tool (6) with the second cutting tool (18).
 7. A method according to claim 1, wherein: the method further comprises specifying a sequence comprising a plurality of machining points along the tool path, each machining point being a point along the tool path at which a respective feature (20, 22, 24) is to be machined into the workpiece (2), wherein each tool path segment (26, 28, 30) includes one or more machining points; the step of machining, by the first cutting tool (6), the workpiece (2) includes, for each of the machining points the first cutting tool (6) is moved to, controlling the first cutting tool (6) to machine the corresponding feature (20, 22, 24) into the workpiece (2); and the method further comprises, for each machining point, assigning, to that machining point, either a first label or a second label, wherein the first label is assigned to a machining point if the feature (20, 22, 24) corresponding to that machining point has not been machined, and the second label is assigned to a machining point if the feature (20, 22, 24) corresponding to that machining point has been machined; the method further comprises, after the first cutting tool (6) has been moved to the second point, identifying the first machining point in the sequence to which the first label has been assigned; and the step of moving the second cutting tool (18) along the entry path (32, 34, 36) of the tool path segment (26, 28, 30) in which the second point is located comprises moving the second cutting tool (18) along the entry path (32, 34, 36) of the tool path segment (26, 28, 30) containing the identified machining point to the entry point of the tool path segment (26, 28, 30) containing the identified machining point.
 8. A method according to claim 7, wherein moving the second cutting tool (18) along the tool path from the entry point of the tool path segment (26, 28, 30) in which the second point is located to the second point comprises moving the second cutting tool (18) along the tool path from the entry point of the tool path segment (26, 28, 30) containing the identified machining point to the identified machining point.
 9. A method according to claim 1, wherein: the method further comprises specifying a sequence comprising a plurality of machining points along the tool path, each machining point being a point along the tool path at which a respective feature (20, 22, 24) is to be machined into the workpiece (2), wherein each tool path segment (26, 28, 30) includes one or more machining points; the step of machining, by the first cutting tool (6), the workpiece (2) includes, for each of the machining points the first cutting tool (6) is moved to, controlling the first cutting tool (6) to machine the corresponding feature (20, 22, 24) into the workpiece (2); and the method further comprises, for each tool path segment (26, 28, 30), assigning, to that tool path segment (26, 28, 30), either a third label or a fourth label, wherein the third label is assigned to a tool path segment (26, 28, 30) if the feature (20, 22, 24) corresponding to one or more of the machining points in that tool path segment (26, 28, 30) has not been machined, and the fourth label is assigned to a tool path segment (26, 28, 30) if the features (20, 22, 24) corresponding every machining point in that tool path segment (26, 28, 30) have been machined; the method further comprises, after the first cutting tool (6) has been moved to the second point, identifying the first tool path segment (26, 28, 30) in the sequence to which the third label has been assigned; and the step of moving the second cutting tool (18) along the entry path (32, 34, 36) of the tool path segment (26, 28, 30) in which the second point is located comprises moving the second cutting tool (18) along the entry path (32, 34, 36) of the identified tool path segment (26, 28, 30).
 10. A method according to claim 1, the method further comprising: after the first cutting tool (6) has been moved to the second point, determining that a tool life of the first cutting tool (6) is equal to a predetermined threshold value; and responsive to determining that a tool life of the first cutting tool (6) is equal to a predetermined threshold value, preventing further machining of the workpiece (2) using the first cutting tool (6).
 11. A method according to claim 1, the method further comprising: defining, for each tool path segment (26, 28, 30), an exit point, wherein the exit point of a tool path segment (26, 28, 30) is a point on that tool path segment (26, 28, 30); defining, for each tool path segment (26, 28, 30), an exit path, wherein the exit path of a tool path segment (26, 28, 30) is a path for a cutting tool (6) from the exit point of that tool path segment (26, 28, 30) to a point that is remote from the workpiece (2); performing a machining process including moving the cutting tool (6) along at least part of the tool path and machining, by the cutting tool (6), the workpiece (2); and, after the first cutting tool (6) has been moved to the second point, interrupting the machining process and moving the first cutting tool (6) along a current tool path segment (26, 28, 30) without machining the workpiece (2), from the second point to the exit point of the current tool path segment (26, 28, 30); and moving the first cutting tool (6) along the exit path of the current tool path segment (26, 28, 30).
 12. An aircraft component machined using a method according to claim
 1. 13. Apparatus for machining a workpiece (2), the apparatus comprising: a first cutting tool (6); a second cutting tool (18); one or more processors (10) configured to: store a tool path for a cutting tool (6), the tool path being a path along which a cutting tool (6) is to be moved during machining of the workpiece (2), wherein the tool path comprises a plurality of tool path segments (26, 28, 30), each tool path segment (26, 28, 30) comprising an entry point, wherein the entry point of a tool path segment (26, 28, 30) is a point on that tool path segment (26, 28, 30); and store, for each tool path segment (26, 28, 30), an entry path (32, 34, 36), wherein the entry path (32, 34, 36) of a tool path segment (26, 28, 30) is a path for a cutting tool (6) from a point that is remote from the workpiece (2) to the entry point of that tool path segment (26, 28, 30); and a controller (8) configured to: move the first cutting tool (6) along the tool path from a first point on the tool path to a second point on the tool path; as the first cutting tool (6) is moved from the first point to the second point, machine, using the first cutting tool (6), the workpiece (2); after the first cutting tool (6) has been moved to the second point, move the first cutting tool (6) to a point remote from the workpiece (2); move the second cutting tool (18) along the entry path (32, 34, 36) of the tool path segment (26, 28, 30) in which the second point is located from a point that is remote from the workpiece (2) to the entry point of the tool path segment (26, 28, 30) in which the second point is located; and move the second cutting tool (18) along the tool path from the entry point of the tool path segment (26, 28, 30) in which the second point is located to the second point.
 14. A program or plurality of programs arranged such that when executed by a computer system or one or more processors it/they cause the computer system or the one or more processors to operate in accordance with the method of claim
 1. 15. A non-transient machine readable storage medium storing a program or at least one of the plurality of programs according to claim
 14. 